<template>
  <div class="whole-box">
    <div class="firtitle">
      <h5 class="firt-img">
        <i class="fa fa-cubes"></i> 原创试卷
      </h5>
      <p class="firt-in">快速生成您高质量的试卷！</p>
    </div>
    <div class="secbox">
      <div class="headbox">
        <div>
          <button @click="changepage" class="btn">现在开始</button>
        </div>
        <div class="sec-img">
          <i class="fa fa-clock-o fa-fw"></i> 创卷向导
        </div>
        <div class="firt-in">只需以下几个步骤，您的高质量试卷就可以问世了！</div>
        <br style="clear:both" />
      </div>
      <div class="bodybox">
        <ul class="timeline">
          <li >
            <div class="timeline-badge">
              <i class="fa fa-address-book"></i>
            </div>
            <div class="timeline-panel" style="margin-left: -50px">
              <div class="timeline-heading">
                <h4 class="timeline-title">选择试卷类型预置</h4>
              </div>
              <div class="timeline-body">
                <p>我们将通过您所选择的预置类型来确定您试卷的题型、分值以及对象等相关信息</p>
              </div>
            </div>
          </li>
          <li class="timeline-inverted">
            <div class="timeline-badge warning">
              <i class="fa fa-credit-card"></i>
            </div>
            <div class="timeline-panel">
              <div class="timeline-heading">
                <h4 class="timeline-title">选择题目</h4>
              </div>
              <div class="timeline-body">
                <p>我们将会提供给您最充足的试题数据库，同时您还可以通过搜索标签、关键字以及难度等方式进行快速定位您所想要的试题并引用到您的试卷中</p>
              </div>
            </div>
          </li>
          <li>
            <div class="timeline-badge danger">
              <i class="fa fa-bomb"></i>
            </div>
            <div class="timeline-panel" style="margin-left: -50px">
              <div class="timeline-heading">
                <h4 class="timeline-title">实时预览与调整</h4>
              </div>
              <div class="timeline-body">
                <p>预览窗口让您可以实时看到您试卷的样式，同时您也可以直接在预览窗口进行微调，该参数或者措辞都是可以的！</p>
              </div>
            </div>
          </li>
          <li class="timeline-inverted">
            <div class="timeline-badge info">
              <i class="fa fa-save"></i>
            </div>
            <div class="timeline-panel" style="float: right;">
              <div class="timeline-heading">
                <h4 class="timeline-title">导出生成您的试卷</h4>
              </div>
              <div class="timeline-body">
                <p>在您觉得一切都没有问题之后，您可以选择导出您的试卷，docx、pdf、图片等多种类型提供选择</p>
              </div>
            </div>
          </li>
          <li>
            <div class="timeline-badge success">
              <i class="fa fa-graduation-cap"></i>
            </div>
            <div class="timeline-panel" style="margin-left: -50px">
              <div class="timeline-heading">
                <h4 class="timeline-title">发布到试题市场</h4>
              </div>
              <div class="timeline-body">
                <p>将您的劳动成果发布到试题市场中，供其它老师们使用，同时您也可以得到一笔可观的收益</p>
              </div>
            </div>
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    changepage() {
      this.$router.push("./type_choose");
    }
  }, 
  name: "OriginalPaper",
  components: {},
  data() {
    return {};
  }
};
</script>

<style scoped>
.whole-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.firtitle {
  padding: 5px 0px 15px 5px;
  position: relative;
  text-align: left;
  background-color: #ffffff;
  margin: 5px 5px 5px 0px;
  width: 100%;
  border-radius: 2px;
  box-sizing: border-box; 
  box-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
}
.firt-img {
  font-weight: 500;
  font-size: 13px;
  margin: 0;
  padding: 0;
}
.firt-in {
  font-size: 10px;
  color: #777777;
  height: 7px;
  margin: 0;
  padding: 0;
}
.sec-img {
  font-weight: 500;
  font-size: 16px;
  margin: 0px;
  padding: 0px;
}

.secbox {
  padding-top: 4px;
  /*position: relative;*/
  margin: 20px;
  height: auto;
  background-color: #ffffff;
  margin: 15px auto auto 0%;
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
}
.headbox {
  margin: 0px;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  height: fit-content;
  width: 100%;
  position: relative;
  text-align: left;
  background-color: #ffffff;
  border-bottom: 1px solid;
  border-bottom-color: #f0efef;
}
.bodybox {
  margin: 0px;
  padding: 10px 0px 0px 10px;
  display: flex;
  justify-content: center; 
  align-items: center; 
  justify-content: center;
}
.btn {
  margin-top:3px;
  margin-right: 20px;
  float: right;
  color: #4caf50;
  border: 1px solid #4caf50;
  background-color: white;
  padding: 9px 20px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
}
.btn:hover {
  color: #ffffff;
  background-color: #4caf50;
}
.timeline {
  /* 中心时间线 */
  position: relative;
  padding: 20px 0 20px;
  list-style: none;
}

.timeline:before {
  content: " ";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background-color: #eeeeee;
}

.timeline > li {
  /*选择下一代子元素li */
  position: relative;
  margin-bottom: 20px;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li > .timeline-panel {
  float: left;
  position: relative;
  width: 46%;
  padding: 20px;  
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
  content: " ";
  display: inline-block;
  position: absolute;
  top: 26px;
  right: -15px;
  border-top: 15px solid transparent;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #ccc;
}

.timeline > li > .timeline-panel:after {
  content: " ";
  display: inline-block;
  position: absolute;
  top: 27px;
  right: -14px;
  border-top: 14px solid transparent;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  border-left: 14px solid #fff;
}

.timeline > li > .timeline-badge {
  z-index: 100;
  position: absolute;
  top: 16px;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  border-radius: 50% 50% 50% 50%;
  text-align: center;
  font-size: 1.4em;
  line-height: 50px;
  color: #fff;
  background-color: #999999;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  margin-right: -50px;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline-badge.primary {
  background-color: #2e6da4 !important;
}

.timeline-badge.success {
  background-color: #3f903f !important;
}

.timeline-badge.warning {
  background-color: #f0ad4e !important;
}

.timeline-badge.danger {
  background-color: #d9534f !important;
}

.timeline-badge.info {
  background-color: #5bc0de !important;
}
/*
.timeline-heading > .timeline-title :after{
  clear: both;
}*/
.timeline-title {
  margin: 0;
  padding:0;
  color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
  padding:0;
  font-size: 15px;
  margin-bottom: 0;
}

.timeline-body > p + p {
  margin-top: 0px;
}

@media (max-width: 767px) {
  ul.timeline:before {
    left: 40px;
  }

  ul.timeline > li > .timeline-panel {
    width: calc(100% - 90px);
    width: -moz-calc(100% - 90px);
    width: -webkit-calc(100% - 90px);
  }

  ul.timeline > li > .timeline-badge {
    top: 16px;
    left: 15px;
    margin-left: 0;
  }

  ul.timeline > li > .timeline-panel {
    float: right;
  }

  ul.timeline > li > .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
  }

  ul.timeline > li > .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
  }
}
</style>>
